<template>
    <div>
 <nav>
  <van-icon class="icon-left" name="user-circle-o" size="18" @click="$router.push({path:'/micircle/personal'})"/>
<div class="tab">
  <router-link to="/find">关注</router-link>
  <router-link to="/find/recommend">推荐</router-link></div>
  <van-icon class="icon-right" name="chat-o" size="18"/> 
 </nav>
<div class="cont">
  
    <router-view></router-view>

</div>
    </div>
</template>

<script setup lang="ts">
</script>

<style scoped lang="scss">
nav {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 16.6px;
  font-weight: bold;
   padding: 0;
   border-bottom: 1px solid #f8f8f8;
  .tab {
    flex: 1;
    a {
    padding: 0px 16.6px;
    color: #999999;
    &.router-link-exact-active {
      position: relative;
      color: #333333;
    &::after {
      position: absolute;
      bottom: -7px;
      left: 50%;
      transform: translateX(-50%);
      display: block;
      content: '';
      width: 10px;
      height: 0;
      border-bottom: 3px solid #333;
      border-radius: 999px;
      }

    }
  }
  }

  .icon-left,
  .icon-right {
   padding: 0px 10px;
  }
}
// .nav {
//   display: flex;
//   align-items: center;
  

// }
// ::v-deep .van-tab__text {
//   font-size:  16px;
//   font-weight: bold;
// }
// ::v-deep .van-tabs__line {
//   width: 16px;
//   background: #333333;
// }
</style>